/*Copyright (c) 2021 Tyrael, Y. LI*/
:root {
    color-scheme: light dark;
    /*    for safari popup page. */
}

body{
    min-width: 750px;
    scrollbar-width:thin;
    font-family: system-ui, "PingFang SC", STHeiti, sans-serif;
}

body::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}

body::-webkit-scrollbar-thumb{
    border-radius: 6px;
    background-color: #aaa;
}

li{
    margin: 10px 0;
}

h1, h2{
    padding-bottom: .3em;
    border-bottom: 1px solid hsla(210,18%,87%,1);
}

table{
    text-align: center;
    border-collapse: collapse;
    border: 2px solid rgb(200, 200, 200);
    letter-spacing: 1px;
}

th, td{
    padding: 2px 10px;
    border: 1px solid rgb(190, 190, 190);
}

thead{
    background: #eee;
}

#bottom{
    margin: 0 75px 75px 75px;
    height: 20px;
}

#bottom div{
    cursor: pointer;
    position: relative;
    float: left;
    margin: 0 5px;
}

#bottom a{
    text-decoration: none;
}

.img-dark{
    display: none;
}

.img-light{
    display: block;
}

.img-block{
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-block{
    width: 450px;
}

#rua-icon-host{
    z-index: 99;
    top:0;
    left:0;
    width: 100%;
    background-color: rgba(255,255,255,0);
    position: fixed;
}

.rua-icon-top{
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

#main{
    margin: 0 75px;
    padding-top: 350px;
}

#rua-nav{
    display: none;
    position: absolute;
    top: 0;
    right: 75px;
    color: #fff;
    text-align: center;
    line-height: 90px;
    transition: 0.4s;
    opacity: 0;
}

#rua-nav a{
    text-decoration: none;
    color: #000;
    margin: 0 12px;
    cursor: pointer;
}

#github-icon{
    fill: #000;
}

#rua-icon{
    cursor: pointer;
}

@media (prefers-color-scheme: dark) {
    a{
        color: #8cb4f7;
    }

    body {
        background: #292a2d;
        color: #fff;
    }

    .img-dark{
        display: block;
    }

    .img-light{
        display: none;
    }

    #rua-nav a{
        color: #fff;
    }

    #github-icon{
        fill: #fff;
    }
}

